package com.wn.pettyloan.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ：Morsera
<<<<<<< HEAD
 * @date ：Created in 2022/12/16 17:56
=======
 * @date ：Created in 2022/12/16 10:06
>>>>>>> origin/master
 * @description：
 */

public class PageData extends HashMap {
    Map map = null;

    public PageData() {
        map = new HashMap();
    }

    public String getString(Object key) {

        return String.valueOf(map.get(key));

    }

    @SuppressWarnings("unchecked")
    @Override
    public Object put(Object key, Object value) {
        return map.put(key, value);
    }

    @Override
    public Object remove(Object key) {
        return map.remove(key);
    }

    public int size() {
        // TODO Auto-generated method stub
        return map.size();
    }

}
